package com.kamistoat.meimeimall.meimeimallmanage.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kamistoat.meimeimall.common.utils.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 角色和权限关联表
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("mms_role_permission_relation")
public class RolePermissionRelationEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@TableId
	private Long id;
	/**
	 * 角色ID
	 */
	private Long roleId;
	/**
	 * 菜单ID
	 */
	private Long permissionId;

}
